package cn.hust.springboot.mapper;

import cn.hust.springboot.bean.Emprp;
import cn.hust.springboot.bean.EmprpExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface EmprpMapper {
    long countByExample(EmprpExample example);

    int deleteByExample(EmprpExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Emprp row);

    int insertSelective(Emprp row);

    List<Emprp> selectByExample(EmprpExample example);

    Emprp selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("row") Emprp row, @Param("example") EmprpExample example);

    int updateByExample(@Param("row") Emprp row, @Param("example") EmprpExample example);

    int updateByPrimaryKeySelective(Emprp row);

    int updateByPrimaryKey(Emprp row);

    List<Emprp> query(String name);

    List<Emprp> getEmprpAndEmp();
}